package DAO;

public abstract class DAOFactory {
	// List of DAO types supported by the factory
	  public static final int MYSQL = 1;
	  
	  
	  public abstract HospedeDAO getHospedeDAO();
	  //public abstract AccountDAO getAccountDAO();
	  //public abstract OrderDAO getOrderDAO();
	  

	  public static DAOFactory getDAOFactory(
	      int whichFactory) {
	  
	    switch (whichFactory) {
	      case MYSQL: 
	          return new MYSQLDAOFactory();
	      
	      default           : 
	          return null;
	    }
	  }

}
